﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Roguelike
{

    public abstract class Entity
    {
        // Entity's x and y coordinates on the map
        public int x  { get; set; }
        public int y  { get; set; }
        public int id { get; set; }
        
        // Graphic object representing associated entity graphic
        public Graphic graphic { get; set; }

        /// <summary>
        /// Takes in another entity and returns whether that entity can pass on top of this entity
        /// </summary>
        /// <param name="entity"></param>
        public bool OtherCanPassOver(Entity entity)
        {
            return false;
        }

        public char GetTextGraphic()
        {
            return graphic.textGraphic;
        }
    }
}